{% extends "base.html" %}
{% block page %}
<div class="div"><p>服务器系统初始化</p></div>
<div align="center" style="margin-top: 8%">
    <form action="/init" method="post">
        {{ form.csrf_token }}
        <p>请输入服务器IP地址:</p>
        <p>{{ form.text(cols = 80, rows = 10,style="width:auto") }}</p>
        {{ form.submit(class="btn btn-info") }}
    </form>
{% with messages = get_flashed_messages() %}
    {% if messages %}
        <div class="alert alert-success" style="display:inline-block;*display:inline;*zoom:1;">
            {% for message in messages %}
                <p>{{ message }}</p>
            {% endfor %}
        </div>
    {% endif %}
{% endwith %}
</div>
{% endblock page %}